package com.example.leetcode.graph;

import com.example.leetcode.graph.common.GraphUtils;

class Solution1584 {
    public int minCostConnectPoints(int[][] points) {
        return GraphUtils.minCostConnectPoints(points);
    }
}

public class leetcode1584 {
    public static void main(String[] args) {
        Solution1584 solution1584 = new Solution1584();
        int[][] points = {{0, 0}, {2, 2}, {3, 10}, {5, 2}, {7, 0}};
        System.out.println(solution1584.minCostConnectPoints(points));
    }
}
